<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
 
class Login extends CI_Controller {
 
 function __construct()
 {
   parent::__construct();
 }
 
 function index()
 {
   $this->load->helper(array('form'));
   $this->load->view('login_view');
   $this->load->view('MeinBKU_Template/MeinBKU_Template/template');
 }
 
 function adminlogin()
 {
    $this->load->helper(array('form'));
      
    $data['_scripts'] = '';
	$data['_styles'] = '';
	$data['head'] = '';
	$data['schulname'] = 'Berufskolleg Uerdingen';
	$data['navi'] = '';
	$data['login'] = $this->load->view('login/adminlogin_view', $data, TRUE);
	$data['content'] = '';
	$data['footer'] = $this->load->view('templates/footer', $data, TRUE);
	
	$this->load->view('MeinBKU_Template/MeinBKU_Template/template', $data);
 }
 
 function lehrerlogin()
 {
 	$this->load->helper(array('form'));
      
    $data['_scripts'] = '';
	$data['_styles'] = '';
	$data['head'] = '';
	$data['schulname'] = 'Berufskolleg Uerdingen';
	$data['navi'] = '';
	$data['login'] = $this->load->view('login/lehrerlogin_view', $data, TRUE);
	$data['content'] = '';
	$data['footer'] = $this->load->view('templates/footer', $data, TRUE);
	
	$this->load->view('MeinBKU_Template/MeinBKU_Template/template', $data);
 }

 function schuelerlogin()
 {
 	$this->load->helper(array('form'));
      
    $data['_scripts'] = '';
	$data['_styles'] = '';
	$data['head'] = '';
	$data['schulname'] = 'Berufskolleg Uerdingen';
	$data['navi'] = '';
	$data['login'] = $this->load->view('login/schuelerlogin_view', $data, TRUE);
	$data['content'] = '';
	$data['footer'] = $this->load->view('templates/footer', $data, TRUE);
	
	$this->load->view('MeinBKU_Template/MeinBKU_Template/template', $data);
 }
 
	 
}
	 
?>